package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class GetSmsCodeRequest {
    @ApiModelProperty("类型: 1:注册 2:忘记密码 3:修改密码 4:设置支付密码 5:修改交易密码 6:钱包支付 7:提现 8:转增 9:后台操作用户钱包余额 ")
    @NotNull(message = "类型 不能为空")
    @Range(min = 1,max = 9,message = "类型取值范围不正确")
    private Integer type;

}
